package com.jianyun.jyzs.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by mlli on 2017/11/20.
 */

public class AnnouncementList extends Response {

    /**
     * dt : null
     * list : [{"agreeCount":0,"content":"关于第二次标准产品系统模拟练习的通知 公司全体员工：为推动公司产品研发成果转化，提高公司核心竞争力","createMan":"吴劳林","dt":"2017-11-06 20:21:49.0","enterpriseCode":"YuntechOA","id":"195","isAttm":1,"msgCount":0,"newsId":"04ab7a50-6468-4e21-b6bf-47ba3f8f25cd","newsType":"企业培训","title":"关于第二次标准产品系统模拟练习的通知","url":"DataService/DetailRecord.html?id=195"},{"agreeCount":0,"content":"为完善公司标准产品内容，提升产品质量，经公司研究决定，自2017年11月06日起，研发中心将对PM","createMan":"谢静","dt":"2017-11-03 18:10:47.0","enterpriseCode":"YuntechOA","id":"194","isAttm":0,"msgCount":0,"newsId":"5d0586d7-73f5-456a-b6bf-a9229b60fed2","newsType":"公司公告","title":"关于PMcloud封版V1.0集中研发通知","url":"DataService/DetailRecord.html?id=194"},{"agreeCount":0,"content":"关于公司产品研发中心组织架构调整和有关人员任命的通知 产品研发中心各位员工：结合公司战略发展需要，","createMan":"吴劳林","dt":"2017-11-01 15:33:59.0","enterpriseCode":"YuntechOA","id":"193","isAttm":0,"msgCount":1,"newsId":"77282bd2-764e-4718-8570-4413680f5745","newsType":"公司公告","title":"2017年关于公司产品研发中心组织机构调整和有关人员任命的通知","url":"DataService/DetailRecord.html?id=193"},{"agreeCount":0,"content":"关于规范员工离职手续办理流程的通知 各部门：为规范公司员工离职流程办理，确保日常工作的正常运行，避","createMan":"吴劳林","dt":"2017-10-30 15:25:30.0","enterpriseCode":"YuntechOA","id":"192","isAttm":1,"msgCount":0,"newsId":"6da8e72f-51ca-4616-853c-de2a295ed3ec","newsType":"公司公告","title":"关于规范员工离职手续办理流程的通知","url":"DataService/DetailRecord.html?id=192"},{"agreeCount":0,"content":"     关于公司第一次标准化     产品模拟练习结果通报 各部门： 通过各部门高度重视和积极参","createMan":"吴劳林","dt":"2017-10-27 09:24:21.0","enterpriseCode":"YuntechOA","id":"191","isAttm":1,"msgCount":0,"newsId":"6997890c-db34-49c7-b1ca-69873b892bed","newsType":"公司公告","title":"关于公司第一次标准化 产品模拟练习结果通报","url":"DataService/DetailRecord.html?id=191"},{"agreeCount":0,"content":"北京建云科技祝全体员工\u201c双节\u201d快乐 亲爱的同事们：大家好！秋风送爽，金桂飘香，雏菊绽放！值此中秋、","createMan":"吴劳林","dt":"2017-09-30 17:25:04.0","enterpriseCode":"YuntechOA","id":"190","isAttm":0,"msgCount":0,"newsId":"2b21e0a6-32d6-49d3-bf27-94616d4113be","newsType":"企业文化","title":"北京建云科技祝全体员工\u201c双节\u201d快乐","url":"DataService/DetailRecord.html?id=190"},{"agreeCount":0,"content":"关于\u201c建云学院\u201d应用通知 各部门、各位同学们：为了建设一个学习型、知识型、可持续发展的企业团队，提","createMan":"吴劳林","dt":"2017-09-30 16:27:11.0","enterpriseCode":"YuntechOA","id":"189","isAttm":0,"msgCount":0,"newsId":"b12be5cc-aa7c-4f3b-80ef-44ead9b04692","newsType":"公司公告","title":"关于\u201c建云学院\u201d应用通知","url":"DataService/DetailRecord.html?id=189"},{"agreeCount":1,"content":"关于标准产品系统第一次模拟训练的通知 为进一步巩固提高员工的销售与实施交付服务能力，确保大家能够熟","createMan":"吴劳林","dt":"2017-09-27 20:38:18.0","enterpriseCode":"YuntechOA","id":"188","isAttm":0,"msgCount":1,"newsId":"f8eae29f-6c58-4bca-8110-c6cbe7beaeb4","newsType":"公司公告","title":"2017年关于标准产品系统第一次模拟训练的通知","url":"DataService/DetailRecord.html?id=188"},{"agreeCount":0,"content":"　　根据国家相关部门关于2017年节假日安排的通知，现将2017年国庆节、中秋节放假的有关事项安排","createMan":"谢静","dt":"2017-09-22 12:08:00.0","enterpriseCode":"YuntechOA","id":"187","isAttm":0,"msgCount":0,"newsId":"f77c4918-bb45-434e-91ba-0d36c97c84f2","newsType":"公司公告","title":"2017年国庆节、中秋节放假通知","url":"DataService/DetailRecord.html?id=187"},{"agreeCount":1,"content":"各位同事：为提升员工销售与实施交付服务能力，推动公司研发成果转化，提高公司核心竞争力。经公司研究决","createMan":"谢静","dt":"2017-09-05 16:35:01.0","enterpriseCode":"YuntechOA","id":"186","isAttm":0,"msgCount":3,"newsId":"7a56ce77-00ef-47f3-bb89-7e6a46136ccc","newsType":"企业培训","title":"关于开展第二次标准化产品培训的通知","url":"DataService/DetailRecord.html?id=186"},{"agreeCount":2,"content":"关于开展公司第一次标准化产品培训的通知 各位同事：为提升员工销售与实施交付服务能力，推动公司研发成","createMan":"吴劳林","dt":"2017-09-02 12:32:50.0","enterpriseCode":"YuntechOA","id":"185","isAttm":0,"msgCount":0,"newsId":"d0c90a8f-6eb8-464e-b569-472643bced53","newsType":"企业培训","title":"关于开展公司第一次标准化产品培训的通知","url":"DataService/DetailRecord.html?id=185"},{"agreeCount":2,"content":"    南方实施中心部门成立会，于2017年8月21日下午三点召开，会议过程中部门经理秦宏建、副经","createMan":"谢静","dt":"2017-08-21 17:26:11.0","enterpriseCode":"YuntechOA","id":"184","isAttm":0,"msgCount":0,"newsId":"da53e4f2-751f-49f3-b5dc-2646faaabbdf","newsType":"公司公告","title":"祝贺南方实施中心部门成立会顺利召开","url":"DataService/DetailRecord.html?id=184"},{"agreeCount":0,"content":"关于公司组织机构调整的通知 各中心部门：结合公司战略发展需要，为进一步优化公司现有组织架构，提高公","createMan":"吴劳林","dt":"2017-08-18 09:05:30.0","enterpriseCode":"YuntechOA","id":"183","isAttm":0,"msgCount":0,"newsId":"927d3102-d8ea-46c0-b459-18f8a75cb588","newsType":"公司公告","title":"2017年关于公司组织机构调整的通知","url":"DataService/DetailRecord.html?id=183"},{"agreeCount":0,"content":"    随着手机端的发展进步，企业大学课程已不能满足员工随时学习的便捷性。为了提高员工的学习效率，","createMan":"谢静","dt":"2017-08-04 11:37:24.0","enterpriseCode":"YuntechOA","id":"182","isAttm":0,"msgCount":0,"newsId":"b51e0111-f8e3-4c1e-8b85-813236ffc615","newsType":"企业培训","title":"关于开学APP培训功能的应用通知","url":"DataService/DetailRecord.html?id=182"},{"agreeCount":4,"content":"各位同事：大家好！首先代表公司向大家在上半年给予的工作支持表示感谢！时光飞驰，转眼间2017年已过","createMan":"谢静","dt":"2017-07-10 15:22:24.0","enterpriseCode":"YuntechOA","id":"181","isAttm":1,"msgCount":14,"newsId":"eb4acbd4-07be-4490-b219-029b8d8d8629","newsType":"公司公告","title":"2017年中总结通知","url":"DataService/DetailRecord.html?id=181"},{"agreeCount":3,"content":"根据当前公司业务开展情况，考虑到出差员工舟车劳顿及辛苦付出，为提升公司出差员工的工作和生活质量，经","createMan":"谢静","dt":"2017-06-26 11:04:56.0","enterpriseCode":"YuntechOA","id":"180","isAttm":0,"msgCount":11,"newsId":"297e62b5-49d1-4769-9a9c-be45d72ea4c6","newsType":"公司公告","title":"关于调整差旅补助的通知","url":"DataService/DetailRecord.html?id=180"},{"agreeCount":1,"content":"为加强公司\u201cPMone2017标准产品\u201d工作尽快落地，经公司研究决定，自2017年6月19日起，进","createMan":"谢静","dt":"2017-06-16 13:02:12.0","enterpriseCode":"YuntechOA","id":"179","isAttm":0,"msgCount":0,"newsId":"94db39ed-b0c8-414d-8bf5-2258c8867b25","newsType":"公司公告","title":"关于PMone2017标准产品封闭研发通知","url":"DataService/DetailRecord.html?id=179"},{"agreeCount":3,"content":" 根据国家税务总局2017第16号公告，自2017年7月1日起公司索取增值税普通发票时应向销售方提","createMan":"谢静","dt":"2017-06-07 17:52:47.0","enterpriseCode":"YuntechOA","id":"178","isAttm":0,"msgCount":0,"newsId":"95fdec95-6c01-4284-a07f-950896d7fa3d","newsType":"公司公告","title":"关于发票开具及报销问题的重要通知","url":"DataService/DetailRecord.html?id=178"},{"agreeCount":1,"content":"各位好，为了提高公司产品研发进度，规范产品研发过程，真实反映产品相关的工作投入，自即日起凡工作内容","createMan":"谢静","dt":"2017-06-02 10:24:15.0","enterpriseCode":"YuntechOA","id":"177","isAttm":0,"msgCount":1,"newsId":"b74c797b-cadc-43bc-b5eb-106c79ba86cc","newsType":"公司公告","title":"关于pmone2017标准产品日志填写及每周工时统计的通知","url":"DataService/DetailRecord.html?id=177"},{"agreeCount":2,"content":"端午节快乐！五月初五是端午，团圆节日幸福颂；包完粽子看龙舟，一束艾叶迎喜气；祝你端午节快乐，健康快","createMan":"谢静","dt":"2017-05-27 16:12:04.0","enterpriseCode":"YuntechOA","id":"176","isAttm":0,"msgCount":23,"newsId":"eea6d352-877c-4abf-a276-38dfa8aa1048","newsType":"","title":"端午节快乐！","url":"DataService/DetailRecord.html?id=176"}]
     * message : null
     * result : true
     * title : null
     */
    private int datacount;
    private String dt;
    private String message;
    private boolean result;
    private String title;
    private List<Announcement> list;

    public int getDatacount() {
        return datacount;
    }

    public void setDatacount(int datacount) {
        this.datacount = datacount;
    }

    public String getDt() {
        return dt;
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<Announcement> getList() {
        return list;
    }

    public void setList(List<Announcement> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "AnnouncementList{" +
                "datacount=" + datacount +
                ", dt='" + dt + '\'' +
                ", message='" + message + '\'' +
                ", result=" + result +
                ", title='" + title + '\'' +
                ", list=" + list +
                '}';
    }

    @DatabaseTable
    public static class Announcement extends Response implements Serializable {
        @Override
        public String toString() {
            return "Announcement{" +
                    "agreeCount=" + agreeCount +
                    ", content='" + content + '\'' +
                    ", createMan='" + createMan + '\'' +
                    ", dt='" + dt + '\'' +
                    ", enterpriseCode='" + enterpriseCode + '\'' +
                    ", id='" + id + '\'' +
                    ", isAttm=" + isAttm +
                    ", msgCount=" + msgCount +
                    ", newsId='" + newsId + '\'' +
                    ", newsType='" + newsType + '\'' +
                    ", title='" + title + '\'' +
                    ", url='" + url + '\'' +
                    ", isdel=" + isdel +
                    ", isread=" + isread +
                    '}';
        }


        @DatabaseField
        private int agreeCount;
        @DatabaseField
        private String content;
        @DatabaseField
        private String createMan;
        @DatabaseField
        private String dt;
        @DatabaseField
        private String enterpriseCode;
        @DatabaseField(id = true)
        private String id;
        @DatabaseField
        private int isAttm;
        @DatabaseField
        private int msgCount;
        @DatabaseField
        private String newsId;
        @DatabaseField
        private String newsType;
        @DatabaseField
        private String title;
        @DatabaseField
        private String url;
        @DatabaseField
        private boolean isdel = false;//是否删除
        @DatabaseField
        private boolean isread = true;//是否已读
        @DatabaseField
        private String userid;//用户
        @DatabaseField
        private int intId;


        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public boolean isread() {
            return isread;
        }

        public void setIsread(boolean isread) {
            this.isread = isread;
        }

        public boolean isdel() {
            return isdel;
        }

        public void setIsdel(boolean isdel) {
            this.isdel = isdel;
        }

        public int getAgreeCount() {
            return agreeCount;
        }

        public void setAgreeCount(int agreeCount) {
            this.agreeCount = agreeCount;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreateMan() {
            return createMan;
        }

        public void setCreateMan(String createMan) {
            this.createMan = createMan;
        }

        public String getDt() {
            return dt;
        }

        public void setDt(String dt) {
            this.dt = dt;
        }

        public String getEnterpriseCode() {
            return enterpriseCode;
        }

        public void setEnterpriseCode(String enterpriseCode) {
            this.enterpriseCode = enterpriseCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setIntId(int intId) {
            this.intId = intId;
        }

        public int getIntId() {
            return intId;
        }

        public int getIsAttm() {
            return isAttm;
        }

        public void setIsAttm(int isAttm) {
            this.isAttm = isAttm;
        }

        public int getMsgCount() {
            return msgCount;
        }

        public void setMsgCount(int msgCount) {
            this.msgCount = msgCount;
        }

        public String getNewsId() {
            return newsId;
        }

        public void setNewsId(String newsId) {
            this.newsId = newsId;
        }

        public String getNewsType() {
            return newsType;
        }

        public void setNewsType(String newsType) {
            this.newsType = newsType;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
